package com.zu.commu.interf;

public class Action
{
  private int actionType;
  public static Action ERROR = new Action().setActionType(-1);

  public static Action NOACTION = new Action().setActionType(0);

  public static Action SENDREMOTE = new Action().setActionType(1);

  public static Action SENDCENTER = new Action().setActionType(2);

  public static Action SENDREMOTEANDCENTER = new Action().setActionType(3);

  public static Action SKIPNEXTPROCESS = new Action().setActionType(4);

  public static Action CANCELGPRS = new Action().setActionType(5);

  public static Action SENDREMOTESINGLE = new Action().setActionType(6);

  public static Action INITSELF = new Action().setActionType(10);

  private Action setActionType(int actionType)
  {
    this.actionType = actionType;
    return this;
  }

  public boolean equals(Action action)
  {
    return this.actionType == action.actionType;
  }
}